Use PEGetNthAlertInstanceInfo to retrieve the PEAlertInstanceInfo structure associated with the specified Report Alert instance. The PEAlertInstanceInfo structure contains information on a specified instance of a Report Alert.
BOOL CRPE_API PEGetNthAlertInstanceInfo (short printJob, short alertN, DWORD instanceN, PEAlertInstanceInfo FAR * alertInstanceInfo);
Specifies the print job from which you want to get the number of Report Alerts. | |
Specifies the Report Alert from which you want to get the alert instance information. | |
Specifies the instance of the Report Alert from which you want to get the alert instance information. | |
Specifies a pointer to PEAlertInstanceInfo |
Currently there is no function to get the number of Report Alert instances created when a report is alert is triggered. This functionality will be implemented in a future version.
In the present build only the first instance of the Report Alert is created at runtime. This limitation will be addressed in a future release.
Declare Function PEGetNthAlertInstanceInfo Lib "crpe32.dll" (ByVal printJob%, ByVal alertN%, ByVal instanceN As Long, alertInstanceInfo As PEAlertInstanceInfo) As Integer
function PEGetNthAlertInstanceInfo( printJob : Smallint; alertN : Smallint; instanceN : DWord; var alertInstanceInfo : PEAlertInstanceInfo) : boolean stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |